package com.ssy.lingxi.contract;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.domain.EntityScan;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.scheduling.annotation.EnableAsync;

@EnableFeignClients(basePackages = {"com.ssy.lingxi.workflow.api.feign", "com.ssy.lingxi.member.merchant.api.feign","com.ssy.lingxi.after.sale.api.feign","com.ssy.lingxi.feign","com.ssy.lingxi.order.api.feign","com.ssy.lingxi.product.api.feign","com.ssy.lingxi.message.api.feign"})
@EnableCaching
@ComponentScan(basePackages = {"com.ssy.lingxi"})
@EntityScan
@SpringBootApplication
@EnableAsync
public class ContractServiceApplication {
    public static void main(String[] args) {
        SpringApplication.run(ContractServiceApplication.class, args);
    }
}
